import { getAction, deleteAction,putAction, postAction,  } from '@/api/manage.js'

//定时任务
// const quartzJobList = {
//   list: (params) => getAction("/quartz/job/list", params),
//   add: (params) => postAction("/quartz/job", params),
//   edit: (params) => putAction("/quartz/job", params),
//   delete: (params) => delete2Action("/quartz/job", params),
//   stop: (params) => putAction("/quartz/job/pause", params),
//   start: (params) => putAction("/quartz/job/resume", params),
// }
const GetChainDetail=(params) => getAction("/api/GetChainDetail", params)
const GetCompanyTotal=(params) => getAction("/api/GetCompanyTotal", params)
const GetParkTotal=(params) => getAction("/api/GetParkTotal", params)
const GetOpinionsTypeList=(params) => getAction("/api/GetOpinionsTypeList", params)
const GetOpinionsList=(params) => getAction("/api/GetOpinionsList", params)
const GetPolicyTotal=(params) => getAction("/api/GetPolicyTotal", params)
const getlocalprojectslist=(params) => getAction("/api/getlocalprojectslist", params)
const GetInvestmentList=(params) => getAction("/api/GetInvestmentList", params)
const GetReportList=(params) => getAction("/api/GetReportList", params)
const GetInvestmentTotal=(params) => getAction("/api/GetInvestmentTotal", params)
const GetLocalprojectsTotal=(params) => getAction("/api/GetLocalprojectsTotal", params)
const GetTankTotal=(params) => getAction("/api/GetTankTotal", params)

const projects={
  getList:(params)=> getAction("/api/GetBusinessclueList",params),
  BusinessclueEdit:(params)=> postAction("/api/BusinessclueEdit",params),
  GetBusinessclueDetail:(params)=> getAction("/api/GetBusinessclueDetail",params),
  BusinessclueTotalByAreas:(params)=> getAction("/api/BusinessclueTotalByAreas",params),
  getTotal:(params)=> getAction("/api/getbusinesscluetotal",params),
}
const ApplycomreportAdd=(params)=> postAction("/api/ApplycomreportAdd",params)
const websiteMsg=(params)=> postAction("/api/websiteMsg",params)
const jssdk = (params) => getAction("/api/jssdk", params) 
const GetBusinessNewsList=(params)=> getAction("/api/GetBusinessNewsList",params)


export {
  GetChainDetail,
  GetCompanyTotal,
  GetParkTotal,
  GetOpinionsTypeList,
  GetOpinionsList,
  GetPolicyTotal,
  getlocalprojectslist,
  GetInvestmentList,
  GetReportList,
  GetInvestmentTotal,
  GetLocalprojectsTotal,
  GetTankTotal,
  projects,
  ApplycomreportAdd,
  websiteMsg,
  GetBusinessNewsList,
  jssdk
}
